import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

export const useUseinfoStore = defineStore('useinfo', () => {
  const useinfo: any = ref({})
  function save_useinfo(u: any) {
    useinfo.value = u
  }
  function remove_useinfo() {
    useinfo.value = {}
  }
  return { useinfo, save_useinfo, remove_useinfo }
}, { persist: true }
)
